package com.jerry.passenger.order.model.response;

import com.jerry.passenger.common.http.biz.BaseBizResponse;
import com.jerry.passenger.order.bean.Order;

/**
 * 订单操作状态
 */
public class OrderStateOptResponse extends BaseBizResponse {

    public final static int ORDER_STATE_CREATE = 0;      //创建订单
    public static final int ORDER_STATE_CANCEL = -1;     //取消订单
    public static final int ORDER_STATE_ACCEPT = 1;      //司机接单
    public static final int ORDER_STATE_ARRIVE_START = 2;     //司机到达
    public static final int ORDER_STATE_START_DRIVE = 3;      //司机开始行程
    public static final int ORDER_STATE_ARRIVE_END = 4;       //到达目的地
    public static final int PAY = 5;               //  已支付

    private int state;    //订单状态
    private Order data;   //携带操作的订单

    public Order getData() {
        return data;
    }
    public void setData(Order data) {
        this.data = data;
    }

    public int getState() {
        return state;
    }
    public void setState(int state) {
        this.state = state;
    }
}









